﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CustomerInput.aspx.cs" Inherits="CustomerInputDan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>张德洪大闸蟹礼券管理系统</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function getconfirm()
{
	if (confirm("你要全部重填吗？")==true)
		return true;
	else
		return false;
}
</script>
<style type="text/css">
<!--
body{
	background:#fff;
	}
table,tr,td{
	font-size:14px;
	color:#666666;
	font-weight:bold;
	font:"微软雅黑",Verdana, Arial, Helvetica, sans-serif;
	}
#page_bg
{
	width:1000px;
	height:705px;
	background:url(images/page_th.jpg)
}
#tj_box	
{ width:560px;
  height:380px;
  background:#ffffff;
  border:1px solid #ccc;  
  margin-left:365px;
  margin-top:250px;  
  position:absolute;
}
.Shot_Text{
	width:220px;
	height:25px;
	border:1px solid #ccc;
	line-height:25px;
	font-size:14px;
	}
.Long_Text{
	width:380px;
	height:25px;
	border:1px solid #ccc;
	line-height:25px;
	font-size:14px;
	}
.button{
 width:65px;
 height:30px;
 font-size:14px;
 }
-->
</style>
</head>

<body>
<div id="page_bg">
<div id="tj_box">
<form id="form1" runat="server" defaultfocus="tbBarCode" defaultbutton="btnSubmit">
<div id="Div1">
	<table width="100%" cellspacing="8" >		
		  <tr>
			<td align="right" width="130" >礼券券号：</td>
			<td>
				<asp:TextBox ID="tbBarCode" runat="server" class="Shot_Text" MaxLength="30" AutoCompleteType="Disabled"></asp:TextBox>
	            <asp:RequiredFieldValidator ID="rfv1" runat="server" 
                    ControlToValidate="tbBarCode" ErrorMessage="*"></asp:RequiredFieldValidator>
			</td>
		  </tr>
		  <tr>
			<td align="right">礼券密码：</td>
			<td>
				<asp:TextBox ID="tbPassword" runat="server" class="Shot_Text" MaxLength="20" AutoCompleteType="Disabled"></asp:TextBox>
				<asp:RequiredFieldValidator ID="rfv2" runat="server" 
					ControlToValidate="tbPassword" ErrorMessage="*"></asp:RequiredFieldValidator>
			</td>
		  </tr>
		  <tr>
			<td align="right" >&nbsp;</td>
			<td>
				<asp:Button ID="btnValidate" runat="server" Text="验证" class="button" 
					onclick="btnValidate_Click"/>
				<asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
			</td>
		  </tr>
		  <tr>
			<td align="right" >&nbsp;</td>
			<td>&nbsp;</td>
		  </tr>
		  <tr>
			<td align="right">礼券类型：</td>
			<td>
				<asp:TextBox ID="tbKind" runat="server" class="Shot_Text" ReadOnly="True"></asp:TextBox>
			</td>
		  </tr>
		  <tr>
			<td align="right" >提货人姓名：</td>
			<td>
				<asp:TextBox ID="tbName" runat="server" class="Shot_Text" MaxLength="50"></asp:TextBox>
				
				  </td>
		  </tr>
		  <tr>
			<td align="right" >提货人电话：</td>
			<td>
				<asp:TextBox ID="tbPhone" runat="server" class="Shot_Text" MaxLength="30"></asp:TextBox>
			</td>
		  </tr>
		  <tr>
			<td align="right" >提货人地址：</td>
			<td>
				<asp:TextBox ID="tbAddress" runat="server" class="Long_Text" MaxLength="50"></asp:TextBox>
				  </td>
		  </tr>
		  <tr>
			<td align="right" >备注：</td>
			<td>
				<asp:TextBox ID="tbComment" runat="server" class="Long_Text" MaxLength="50"></asp:TextBox>
				  </td>
		  </tr>
	
		  <tr>
			<td class="style1">&nbsp;</td>
			<td>
				<div style="float:left;"><asp:Button ID="btnSubmit" runat="server" Text="提交" class="button" 
					onclick="btnSubmit_Click"/>
				<asp:Label ID="Label2" runat="server" ForeColor="Red"></asp:Label>
				</div>
				<div style="float:right; margin-right:62px;">
					<asp:Button ID="btnReset" runat="server" Text="全部重填" class="button" 
					onclick="btnReset_Click" onclientclick="return getconfirm();" Width="66px"/>
				</div>
				<div style="clear:both"></div>
			</td>
		  </tr>
	</table>
</div>
</form>
</div>
</div>
</body>
</html>
